package com.dark.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * ClassName: RegisterDto
 * Description:RegisterDto
 *
 * @author chengluchao
 * @date: 2022/9/23 9:49 PM
 * @since 1.0.9
 */
@Data
public class LoginDto {

    /**
     * 登陆类型
     * 1=账号登陆
     * 2=手机号登陆
     * 3=邮箱登陆
     * 4=验证码登陆* * * * *
     */
    @ApiModelProperty("登陆类型")
    private Integer type;

    /**
     * 账号，可登陆
     */
    @ApiModelProperty("账号")
    @NotEmpty(message = "账号不能为空")
    private String account;
    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String pwd;

    /**
     * 电话，可登陆
     */
    @ApiModelProperty("电话")
    private String phone;

    /**
     * 邮箱，可登陆
     */
    @ApiModelProperty("邮箱")
    private String email;


    private String remark;
}
